﻿using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using EHR.Common;

namespace CommunitySystem.PageView
{
    public class InsertSystemRemark
    {
        public InsertSystemRemark()
        {
            
        }
        private EmpbasicService.EmpBasicServiceClient Client = new EmpbasicService.EmpBasicServiceClient();
        public void Insert(string ZiJi,string OldContent,string NewContent,int EmpID,string CaoZuoFangShi,string ZiDuan)
        {
            Client.AddSystem_MarkCompleted+=new EventHandler<EmpbasicService.AddSystem_MarkCompletedEventArgs>(Client_AddSystem_MarkCompleted);
            Client.AddSystem_MarkAsync(ZiJi, OldContent, NewContent, EmpID, CaoZuoFangShi, ZiDuan,
                                       Session.LoginUser.LoginName);

        }

        void Client_AddSystem_MarkCompleted(object sender, EmpbasicService.AddSystem_MarkCompletedEventArgs e)
        {
            
        }
    }
}
